decimal = eval(input("请输入一个数字："))

s = ""
num = decimal
while num>0:
    n,num = num%2,num//2
    s = str(n)+s
print(decimal,"转换成二进制为：",s)